﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using NeteasyMusic;

namespace NEMusicPro
{
    public class MusicItem
    {
        string url { get; set; }
        string name { get; set; }
            }
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            List<NEMusicInfo> m= Music.GetSearch(textBoxSearch.Text, "5", "1");
            foreach (NEMusicInfo item in m) {
                listBox1.Items.Add(item);
            }
        }
    }
}
